import React from 'react';
import { connect } from 'dva';
import PersonCenterComponent from '../../components/Common/PersonCenter/PersonCenter';


function personCenter({ dispatch, app }) {
  const personCenterProps = {
    dispatch,
    app,
  };
  return (
    <PersonCenterComponent {...personCenterProps} />
  );
}

export default connect(({ app }) => ({ app }))(personCenter);
